package com.ssy.lingxi.enhance.api.model.dto;

import com.ssy.lingxi.common.model.dto.UserLoginCacheDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 确认物流单 - DTO
 * @author fhj
 * @date 2020/11/17
 * @version 2.0.0
 */
@Data
public class ConfirmLogisticsDTO {

    @NotNull(message = "状态不能为空")
    @ApiModelProperty(value = "状态：0.不接受；1.接受；2.待确认")
    private Integer status;

    @NotNull(message = "生产通知单ID不能为空")
    @ApiModelProperty(value = "生产通知单ID")
    private Long produceNoticeOrderId;

    @NotBlank(message = "物流单号不能为空")
    @ApiModelProperty(value = "物流单号")
    private String logisticsOrderNo;

    @ApiModelProperty(value = "当前登录会员信息")
    private UserLoginCacheDTO user;
}
